let tip = {}

/**
 * 显示 loading 提示框
 * @date 2023-03-31
 */
tip.showLoading = function(title = '加载中') {
	uni.showLoading({
		title: title,
		// #ifdef APP|MP-WEIXIN|H5
		mask: true
		// #endif
	})
}

/**
 * 隐藏 loading 提示框
 * @date 2023-03-31
 */
tip.hideLoading = function() {
	uni.hideLoading()
}

export default tip